package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface IUserService extends IService<User> {

    public void insertUser(User user);

    public User getUserById(Integer id);

    public List<User>getUserBySxOri(int index,String gender,String sexualOrien);

    public User getUserByName(String username);
}
